//常量
export default {
  //监督工程明细
  jdgc: {
    id: '',
    coding: '',
    name: '',
    addr: '',
    lng: '',
    lat: '',
    status: '',
    alertStatus: '',
    gczj: '',
    tzje: '',
    gclx: '',
    fr: '',
    xmxz: '',
    jsgm: '',
    lxry: '',
    lxdh: '',
    bjrq: '',
    lxwh: '',
    pzsj: '',
    xxjd: ''
  },
  kqjlProps: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  },
  //合同列表
  htProps: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  },

  //施工许可工程列表
  sgxkProps: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  },

  //标段工程列表
  bdProps: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  },

  //图审工程列表
  tsProps: {
    size: 'small',
    height: 280,
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  },
  //项目列表
  xmProps: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  },

  // 违规处理数据分类
  wgOption: {

    tooltip: {
      trigger: 'axis',
      axisPointer: { // 坐标轴指示器，坐标轴触发有效
        type: 'shadow' // 默认为直线，可选为：'line' | 'shadow'
      }
    },
    color: ['blue'],
    grid: {
      left: '3%',
      right: '8%',
      bottom: 110,
      containLabel: true
    },
    xAxis: [{
      type: 'category',
      data: ['质量停工', '安全停工', '安全局部停工', '质量整改', '安全整改', '不合格报告']
    }],
    yAxis: [{
      type: 'value',
      name: '数量',
      axisLabel: {
        formatter: '{value}'
      }
    }],
    series: [{
      name: '全部',
      type: 'bar',
      data: ['0', '0', '0', '0', '0', '0'],
      itemStyle: {
        normal: {
          color: function (params) {
            // build a color map as your need.
            let colorList = [
              '#FE8463', '#9BCA63', '#FAD860', '#F3A43B', '#60C0DD',
              '#D7504B', '#C6E579', '#F4E001', '#F0805A', '#26C0C0'
            ];
            return colorList[params.dataIndex]
          },
          label: {
            show: true,
            position: 'top',
            formatter: '{c}(个)',
          }
        }
      }
    }]
  },

  //项目列表
  cameraTable: {
    size: 'small',
    showColumnPicker: false,
    showPager: false,
    jsxdata: {
      "data": [],
    },
    jsxcolumns: [],
  }
}
